<!DOCTYPE html>
<html lang="cn">
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="../bootstrap-4.6.0/css/bootstrap.css" />
		<link rel="stylesheet" type="text/css" href="../css/login.css" />
		<title>登录界面</title>
	</head>
	<body>
		<div class="operate-warp">
			<div class="op-warp login-warp" style="display: block;">
				<div class="title-warp">登录</div>
				<div class="ipt-warp">
					<form>
						<div class="form-group">
							<label for="uname-ipt">用户名</label>
							<input type="text" class="form-control" id="uname-ipt">
						</div>
						<div class="form-group">
							<label for="pwd-ipt">密码</label>
							<input type="password" class="form-control" id="pwd-ipt">
						</div>
					</form>
				</div>
				<div class="btn-warp">
					<span><button type="button" class="btn btn-primary" onclick="login()">登录</button></span>
					<span><button type="button" class="btn btn-success" onclick='change_op_warp("register")'>注册</button></span>
				</div>
			</div>

			<div class="op-warp register-warp" style="display: none;">
				<div class="title-warp">注册</div>
				<div class="ipt-warp">
					<form>
						<div class="form-group">
							<label for="uname-ipt">用户名</label>
							<input type="text" class="form-control" id="uname-iptr">
						</div>
						<div class="form-group">
							<label for="pwd-ipt">密码</label>
							<input type="password" class="form-control" id="pwd-iptr">
						</div>
						<div class="form-group">
							<label for="pwd-ipt">确认密码</label>
							<input type="password" class="form-control" id="conpwd-iptr">
						</div>
						<div class="form-group">
							<label for="email-iptr">邮箱</label>
							<input type="password" class="form-control" id="email-iptr">
						</div>
					</form>
				</div>
				<div class="btn-warp">
					<span><button type="button" class="btn btn-primary" onclick="register()">确认注册</button></span>
					<span><button type="button" class="btn btn-success" onclick='change_op_warp("login")'>登录</button></span>
				</div>
			</div>
		</div>
	</body>
	
	<script src="../js/jquery-3.6.0.js" type="text/javascript" charset="utf-8"></script>
	<script src="../bootstrap-4.6.0/js/bootstrap.js" type="module" charset="utf-8"></script>
	<script src="../bootstrap-table/bootstrap-table.js" type="module" charset="utf-8"></script>
	<script src="../bootstrap-table/locale/bootstrap-table-zh-CN.js" type="module" charset="utf-8"></script>
	<script src="../js/login.js" type="text/javascript" charset="utf-8"></script>
</html>
